package com.company.user.req;

import com.company.user.entity.ClientEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel("添加客户入参")
public class AddClientReq {
    @ApiModelProperty(value = "联系人姓名")
    private String clientName;
    @ApiModelProperty(value = "联系方式")
    private String clientNumber;
    @ApiModelProperty(value = "性别 0 女  1 男 ")
    private Integer gender;
    @ApiModelProperty(value = "所在地区")
    private String district;
    @ApiModelProperty(value = "跟进记录")
    private String record;
    @ApiModelProperty(value = "备注")
    private String remarks;
    @ApiModelProperty(value = "状态，0：正常，1：删除，2封禁")
    private Integer clientStatus;

    public String getClientName() {
        return clientName;
    }

    public void setClientName(String clientName) {
        this.clientName = clientName;
    }

    public String getClientNumber() {
        return clientNumber;
    }

    public void setClientNumber(String clientNumber) {
        this.clientNumber = clientNumber;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    public String getRecord() {
        return record;
    }

    public void setRecord(String record) {
        this.record = record;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Integer getClientStatus() {
        return clientStatus;
    }

    public void setClientStatus(Integer clientStatus) {
        this.clientStatus = clientStatus;
    }

    public void copyTo(ClientEntity client) {
        client.setClientName(this.clientName);
        client.setGender(this.gender);
        client.setClientNumber(this.clientNumber);
        client.setDistrict(this.district);
        client.setRecord(this.record);
        client.setRemarks(this.remarks);
        client.setClientStatus(this.clientStatus);
    }
}
